import React from 'react';
import {BrowserRouter as Router, Route,Link} from 'react-router-dom'
import FillQust from "./FillQust";

export default class Head extends React.Component{

  constructor(p) {
    super(p);

  }

  render() {
   return <section className="head">
     <div className='head_title'>
       <h1>快捷周报</h1>
     </div>
       <div className='head_content'>
         <ul className='head_list list_left'>
           <Link className='head_but_span' to='/FillQust'><li className='head_but but_left'>最新周报</li></Link>
           <Link className='head_but_span' to='/History'><li className='head_but but_left'>往期周报</li></Link>
           <Link className='head_but_span' to='/CreateQust'><li className='head_but but_left'>创建周报模板</li></Link>
         </ul>
         <ul className='head_list list_right'>
           <Link className='head_but_span' to='/login'><li className='head_but but_right'>登录</li></Link>
           <Link className='head_but_span' to='/login'><li className='head_but but_right'>注册</li></Link>
         </ul>
       </div>
    </section>
  }
}
